WP_Defender\Controller\Recaptcha D

Total Complexity 135
Dependencies 8
Dependents 2
Total lines 875
Lines of code 602
Logical lines of code 269
Comment lines 170
Methods 33
Properties 8

Methods 33

Method Rating Maintainability Complexity Lines of code
load_recaptcha_preview()
A
35 8 113
add_actions()
A
46 12 37
display_recaptcha()
A
44 11 45
data_frontend()
A
42 9 53
recaptcha_post_request()
S
50 7 28
validate_captcha_field_wpmu_registration()
S
56 7 17
declare_variables()
S
54 6 20
validate_captcha_field_on_lostpassword()
S
57 6 17
remove_dublicate_scripts()
S
61 6 11
validate_captcha_field_on_login()
S
58 5 17
is_woocommerce_page()
S
61 5 12
get_api_url()
S
62 5 11
recaptcha_field()
S
56 4 19
display_login_recaptcha()
S
53 3 33
__construct()
S
58 4 15
validate_captcha_field()
S
59 4 15
add_scripts()
S
50 3 29
recaptcha_response()
S
58 3 15
save_settings()
S
55 2 23
validate_captcha_field_on_comment()
S
67 3 8
is_woocommerce_active()
S
66 3 8
display_signup_recaptcha()
S
68 2 7
import_data()
S
69 2 7
script_loader_tag()
S
70 2 6
export_strings()
S
72 2 5
exclude_recaptcha_for_requests()
S
70 2 5
error_message()
S
70 2 6
get_model()
S
70 2 6
remove_settings()
S
98 1 1
remove_data()
S
82 1 3
to_array()
S
98 1 1
display_comment_recaptcha()
S
74 1 5
script_data()
S
76 1 4